package com.shpng.cheapenglish.action.nouse;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.shpng.cheapenglish.db.Word;
import com.shpng.cheapenglish.manager.WordManager;

public class WordSearchAction {

	private String wordString;

	public String execute(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
//		WordManager wordManager = WordManager.getInstance();
//		Word word = wordManager.getWord(wordString);
//		req.setAttribute("word", word);
		return "/pages/word-modify.jsp";
	}

	public String getWordString() {
		return wordString;
	}

	public void setWordString(String wordString) {
		this.wordString = wordString;
	}

}
